```js
// .storybook/my-addon/register.js

import { useArgTypes } from '@storybook/api';

// inside your panel
const { argTypes } = useArgTypes();
```